export function setupDirectives(app) {
  //挂载所有自定义指令
  const modules = import.meta.globEager('./modules/*.js')

  Object.keys(modules).forEach((key) => {
    Object.keys(modules[key]).forEach((moduleKey) => {
      app.directive(moduleKey, modules[key][moduleKey])
    })
  })
}
